<template>
  <div>
    <div class="top">
      <div style="width: 60px" @click="returnTap">取消</div>
      <van-button  style="height: 30px" @click="finishTap"
        >完成</van-button
      >
    </div>
    <textarea
      name=""
      id=""
      cols="30"
      rows="10"
      placeholder="发布内容"
      class="bezhu"
    ></textarea>
    <div class="add" @click="show = true">+</div>
    <van-overlay
      :show="show"
      @click="show = false"
      style="background: rgba(30, 30, 30, 0.5)"
    >
      <div class="wrapper" @click.stop>
        <div class="block">
          <div class="blockOne">拍摄</div>
          <div class="blockOne block1">从手机相册选择</div>
          <div class="blockOne" @click="show = false">取消</div>
        </div>
      </div>
    </van-overlay>
  </div>
</template>
<script>
export default {
  data() {
    return {
      checked: false,
      show: false,
      show1: false,
    };
  },

  methods: {
    returnTap() {
      this.$router.go(-1);
    },
    finishTap() {
      this.$router.go(-1);
    },
  },
};
</script>
<style scoped>
.top {
  height: 60px;
  width: 90%;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 60px;
  position: relative;
}
.bezhu {
  width: 90%;

  margin-top: 10px;
  padding: 5px 5%;
  border: none;
  height: 100px;
}
.add {
  width: 90px;
  height: 90px;
  border-radius: 5px;
  font-size: 40px;
  text-align: center;
  line-height: 90px;
  background: #4AC7D7;
  margin-left: 5%;
  color: #fff;
}
.lis {
  width: 80%;
  margin-left: 10%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lisLeft {
  display: flex;
  align-items: center;
  font-size: 20px;
}
.lisLeft span {
  margin-left: 10px;
}
.lisRight {
  font-size: 18px;
}
.block {
  height: 215px;
  width: 100%;
  position: fixed;
  right: 0px;
  bottom: 0px;
  z-index: 100;
  background: rgba(255, 255, 255, 1);
  border-radius: 5px;
  z-index: 999;
}
.blockOne {
  height: 68px;
  width: 100%;
  text-align: center;
  line-height: 68px;
}
</style>